package com.dd.demo.day2;
/**
 * 运算学习 了解类似一下运算的结果 并知道原理
 * @author wuzonglin
 * @version 0.1.0
 * @Date 2022/08/03
 *
 * @Copyright 1998-2021 重庆鸥睿珂数字科技发展有限公司. All rights reserved. Power by DO&DonE®
 */
public class TestOperation {
	public static void main(String[] args) {
		Object result = 1L+1 ;
		System.out.println(result);
		System.out.println(result.getClass().getName());
		System.out.println("1".equals(new String("1")));
		System.out.println("1" == new String("1"));
		System.out.println(new Long(1).equals(1L));
		System.out.println(new Long(1) == new Long(1));
		System.out.println(new Long(1) == 1L);

	}
}
